package practice04;

public class Student extends Person{
    private int klass;

    public Student(int age, String name, int klass) {

    }

    public int getKlass() {
        return klass;
    }

    public void setKlass(int klass) {
        this.klass = klass;
    }

    @Override
    public String toString() {
        return "Student{" +
                "klass=" + klass +
                '}';
    }

    public String introduce(){
        return super.introduce()+" I am a Student. I am at Class 2.";
    }
}
